//name: Xingkai Zhou
//SID:1318620

import java.io.Serializable;

public class QueryRequest implements Serializable {
    public static enum TYPE {
        SELECT, DELETE,UPDATE,SAVE
    }

    private TYPE type;
    private String word;
    private String explain;

    public QueryRequest(TYPE type, String word,String explain) {
        this.type = type;
        this.word = word;
        this.explain = explain;
    }

    public TYPE getType() {
        return type;
    }

    public String getWord() {
        return word;
    }

    public String getExplain() {
        return explain;
    }
}
